import http from '@/utils/HttpRequest';

export let uploadApi = (data) => {
    return http({
        url: '/upload',
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        data
    });
};